#include "SceneNode.h"
#include "Animator.h"

using namespace kraw;

SceneNode::SceneNode()
{
}

void SceneNode::logicUpdate()
{
}

void SceneNode::render()
{
}
	
void SceneNode::addAnimator(/*Animator* animator*/)
{
	//
}

//const mat4& SceneNode::getMatrix()

void SceneNode::renderTraversal(/*const mat4& parentMatrix*/)
{
	//if (dirty)
		//update localMatrix

	//worldMatrix = localMatrix * parentMatrix;

	//this->render();

	//for (int i=0; i<children.size(); i++)
		//static_cast<SceneNode*>(children[i])->renderTraversal(worldMatrix);
}
